//
// File: gui.cpp
// Description: 
// Author: Adam Damiano
// Author: Leaf Corcoran
//

#include "gui.h"

	
StaticText::StaticText( Component* parent, string text ) :
	Component( parent ),
	text(text)
	{
		// Needs to figure out how wide it is
	}

void StaticText::draw() {
	glEnable(GL_TEXTURE_2D);
	
	glColor4f( 0.0f, 0.0f, 0.0f, 1.0f );
	GUI::getInstance()->getFont()->writeString( text, 0, 0 );
}

